package com.dingwen.spsest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 角色实体
 *
 * @author dingwen
 * 2021.05.18 15:25
 */
@Getter
@Setter
@ToString
@TableName(value = "sss_role")
public class RoleEntity implements Serializable {
    private static final long serialVersionUID = 3854421759646398015L;
    /**
     * 角色id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 角色名称
     */
    @TableField(value = "name")
    private String name;

}
